package com.smartfast4j.common.config;

/**
 * Created by zhouzf on 2017/12/28.
 */
public interface Cachekey {

    interface User {
        String SID_PREFIX = "userInfo:sid:";//根据sid 获取 uid
        String UID_PREFIX = "userInfo:uid:";//根据uid 获取 userInfo
        String UID_SID_PREFIX = "userInfo:uid:sid:"; // 根据 uid 获取 sid
    }

    interface Sms {
        String VERIFICATION_CODE = "verification_code:mobile:";
    }

    interface Sys {
        String USER ="user:id:";
        String ROLE = "role:id:";
        String RESOURCE = "resource:id:";
        String AREA = "area:id:";
        String NavMenu = "navMenu:userId:";
        String ZTREE_MENU = "ztreeMenu:userId:";
    }
}
